package com.hoshiibuy.sys.permission.feign.fallback;

import java.util.LinkedList;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

import com.hoshiibuy.sys.permission.feign.IdGeneratorRemote;

@Component
public class IdGeneratorFallback implements IdGeneratorRemote {

	private final static Logger logger = LoggerFactory.getLogger(IdGeneratorFallback.class);

	@Override
	public String getId() {
		logger.warn("id服务触发fallback");
		return null;
	}

	@Override
	public LinkedList<String> getIdList(int count) {
		logger.warn("id服务触发fallback");
		return null;
	}
}
